"use strict";

const Controller = require("egg").Controller;

class HomeController extends Controller {
    async index() {
        const { ctx } = this;
        ctx.body = "hi, egg,good";
    }
    async create() {
        const { ctx } = this;
        const user = await ctx.service.user.create({
            username: "hikaru",
            password: "123456",
        });
    }
}

module.exports = HomeController;
